/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Network;

/**
 *
 * @author mokoe001
 */
public class Edge {
    private String srcNodeIP;
    private int number; //will act as the id of the edge
    private String destNodeIP;
    private String time;
    private String protocol;
    private int length;
    private String moreInfo;   
    
    
    public Edge(){
        
    }
    public Edge(String srcNodeID, int number, String destNodeID, String time, String protocol,
            int length, String moreInfo){
        this.srcNodeIP = srcNodeID;
        this.number = number;
        this.destNodeIP = destNodeID;
        this.time = time;
        this.protocol = protocol;
        this.length = length;
        this.moreInfo = moreInfo;                
    }

    public String getSrcNodeID() {
        return srcNodeIP;
    }

    public void setSrcNodeID(String srcNodeID) {
        this.srcNodeIP = srcNodeID;
    }

    public String getMoreInfo() {
        return moreInfo;
    }

    public void setMoreInfo(String moreInfo) {
        this.moreInfo = moreInfo;
    }

    public String getDestNodeID() {
        return destNodeIP;
    }

    public void setDestNodeID(String destNodeID) {
        this.destNodeIP = destNodeID;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public int getLength() {
        return length;
    }

    public void setLength(int length) {
        this.length = length;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Source IP:"+this.srcNodeIP+"  Number"+this.number+"  Destination IP:"+this.destNodeIP+"  Time:"+this.time+"  Protocol:"+this.protocol+"  Length:"+this.length;
    }
    
    
}
